@import url("@/theme.less");

.title {
  .titleMiddle {
    display: flex;
    align-items: center;
    justify-content: space-between;

    .search {
      margin-left: 8px;
      box-shadow: 0 2px 4px 0 rgb(54 58 80 / 32%);

      &:hover {
        box-shadow: 0 2px 10px 0 rgb(0 0 0 / 20%);
      }
      cursor: pointer;
      .searchInput {
        display: flex;
        align-items: center;
        line-height: 20px;
      }
      .icon {
        color: rgb(141, 158, 166);
        margin-right: 12px;
        font-size: 14px;
      }
      .placeholder {
        font-size: 14px;
        font-weight: 500;
        color: rgb(158, 169, 188);
      }
      position: relative;
      display: flex;
      -webkit-box-align: center;
      align-items: center;
      height: 28px;
      padding: 0px 28px 0px 14px;
      background: #f2f3f587;
      border-radius: 8px;
      width: 160px;
    }
  
    .breadcrumb {
      font-weight: bold;
      height: 32px;
      line-height: 32px;
      font-size: 16px;
    }
  
    .breadcrumbContent {
      display: inline-flex;
      align-items: center;
      vertical-align: middle;
  
      span {
        margin-left: 4px;
      }
    }
  
    .btns {
      position: relative;
      display: flex;
      align-items: center;
      // padding-right: 20px;
  
      button {
        padding: 8px 15px;
        font-size: 12px;
        line-height: 12px;
        font-weight: 800;
        border: 0 solid #DDD;
        color: #FFF;
        border-radius: 3px;
        background-color: #fa6400;
        display: flex;
        align-items: center;
        margin-left: 8px;
        cursor: pointer;
  
        span {
          font-size: 16px;
          font-weight: normal;
          margin-right: 3px;
          margin-top: -3px;
        }
      }
    }

    .toggleIcon {
      cursor: pointer;
      width: 24;
      height: 24;
      svg {
        width: 24;
        height: 24;
      }
      img {
        width: 24;
        height: 24;
      }
      color: rgb(82, 94, 113);

      &:hover {
        color: rgb(53, 68, 93);
      }
    }
  }

  // :global {
  //   .ant-modal-header {
  //     padding: 8px 24px;
  //   }
  //   .ant-modal-close-x {
  //     height: 56px;
  //     line-height: 56px;
  //   }
  // }

  .modalTitle {
    display: flex;
    align-items: center;
    height: 40px;

    .modalTitleLeft {
      display: flex;
      align-items: center;
      cursor: pointer;
      font-size: 14px;
      width: 160px;

      .modalTitleContent {
        margin: 0px 4px;
      }
    }

    .modalTitleInput {
      color: #999999;
      // width: calc(100% - 180px);
      border-radius: 20px;
      border: 0px;
    }

    :global {
      .ant-input {
        border: none !important;
        &:focus-within {
          border: none !important;
          box-shadow: none !important;
        }
      }
      .ant-input-affix-wrapper:hover {
        border-color: #ffffff00 !important;
      }
      .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
        border-color: #ffffff00 !important;
      }
      .ant-input-affix-wrapper:focus,
      .ant-input-affix-wrapper-focused {
        border-color: #ffffff00 !important;
        box-shadow: none !important;
      }
    }
  }

  .modalList {
    height: 100%;
    overflow: auto;
    .scrollbar();
    .modalListItem {
      border-radius: 4px;
      padding: 12px 8px;
      cursor: pointer;
      :global {
        .ant-spin-nested-loading {
          height: 100%;
        }
        .ant-list-item-meta {
          display: flex;
          align-items: center;
        }
      }
      &:hover {
        background-color: #f3f3f3;
      }
      .modalListIcon {
        font-size: 32px;
      }
      .folderOpenOutlined {
        width: 32px;
        height: 32px;
        background-image: url();
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
      }
      .hignlightTitle {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
      }
      .descText {
        display: flex;
        align-items: center;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        font-size: 12px;
        font-weight: 400;
        color: #95999e;
        line-height: 17px;
        .path {
          display: flex;
          align-items: center;
          .pathicon {
            width: 16px;
            height: 16px;
            svg {
              width: 16px;
              height: 16px;
            }
            img {
              width: 16px;
              height: 16px;
            }
            display: flex;
            margin-right: 2px;
          }
          .pathname {
            &:hover {
              color: #0c63fa;
            }
          }
          .delimiter {
            margin: 0 4px;
          }
        }
      }
    }
  }
}

.avatar {
  width: 32px;
  height: 32px;
  svg {
    width: 32px;
    height: 32px;
  }
  img {
    width: 32px;
    height: 32px;
  }
}